DX11 GET OBJECT FORWARD VECTOR

Retrieves the current forward vector of the specified object.
The forward vector will be copied to the provided vector3 (which will also be returned by this function) or
it will be put into a temporary vector3 which is returned and only valid until the next call to DX11 SYNC.

  Syntax
Return Dword = DX11 GET OBJECT FORWARD VECTOR(object, [resultVector])
  Parameters
object
Dword
The object to get the current forward vector of.
[Optional] resultVector
Dword
The object's forward vector will be copied here, or to a temporary vector3 if this parameter is omitted.

  Returns

Returns the resultVector if it was provided, or the newly created temporary vector3 holding the object's forward vector otherwise.

  See also

OBJECT Functions Menu
DX11 Function Categories